﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApp1
{
   public class Student
    {
        //这里name和sum是形参
        public void English(string name,double num)
        {
            if (num >= 60)
            {
                Console.WriteLine("姓名:"+name+"\t"+"结果:"+"老弟你及格了");
            }
            else
            {
                Console.WriteLine("姓名:" + name + "\t" + "结果:" + "老弟你完了");
            }
        }
    }
}
